package org.coco.mybatis.session;

import org.coco.mybatis.mapping.BoundSql;
import org.coco.mybatis.mapping.ResultMap;

import java.util.List;

public interface SqlSession {

    <T> T selectOne(String statement);


    <E> List<E> selectList(BoundSql boundSql) throws Exception;

    Integer delete(BoundSql boundSql);

    Integer insert(BoundSql boundSql);
}
